package com.kssoft.ebd.dto.rest;

import lombok.Data;

import java.util.List;
@Data
public class CallRecordResponseDTO {

    private List<CallRecord> callRecordList;
    private String conditionStartTime;
    private String conditionUser;
    private int contiditonType;
    private String deviceIndentify;
    private String errMsg;
    private Object resultTotalCount;
    private int writeLogFlag;


    @Data
    public static class CallRecord {
        private String aioFileName;
        private String aioFilesFtpPath;
        private String assetName;
        private int broadcastType;
        private String callerDivisionCode;
        private String callerName;
        private List<ChildRecord> childRecordList;
        private Object duration;
        private String fileType;
        private int id;
        private List<IssueDivision> issueDivisionList;
        private Object issueTerminalList;
        private String startTime;
        private int status;
        private List<TargetArea> targetAreaList;
        private Object targetTerminalList;
        private String termDivisionString;
        private int type;
    }
    @Data
    public static class ChildRecord {
        private String assetTaskId;
        private Object deviceIndentify;
        private Object deviceRecordDownLoadNum;
        private Object deviceRecordPktsSum;
        private Object downloadStatus;
        private int id;
        private int multiplexerPortId;
        private Object platTaskId;
        private Object rdsCmdChannelIds;
        private Object rdsCmdDataChannelIds;
        private Object rdsSessionId;
        private int schemeType;
    }
    @Data
    public static class IssueDivision {
        private String divisionCode;
        private int divisionLevel;
        private String divisionName;
        private Object divisionState;
        private String fullName;
        private int id;
        private Object latitude;
        private Object longitude;
        private String parentCode;
    }
    @Data
    public static class TargetArea {
        private String divisionCode;
        private int divisionId;
        private int divisionLevel;
        private String divisionName;
        private String fullName;
        private int id;
        private String parentCode;
        private Object stbName;
        private Object terminalId;

    }
}
